package com.baiduspring.function.elasticsearch.operation;

/**
 * elasticSearch文档字段类型
 */
public enum FieldTypes {
    TEXT("text"), KEYWORD("keyword"), DATE("date"), LONG("long"), DOUBLE("double"), BOOLEAN("boolean"), IP("ip");

    private String type;

    FieldTypes(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
